/********************************************************************************
 *      Copyright:  (C) 2025 ZYT
 *                  All rights reserved.
 *
 *       Filename:  can_comm.h
 *    Description:  This file 
 *
 *        Version:  1.0.0(10/08/25)
 *         Author:  ZYT <zhangyuting@163.com>
 *      ChangeLog:  1, Release initial version on "10/08/25 09:16:01"
 *                 
 ********************************************************************************/
#ifndef CAN_COMM_H
#define CAN_COMM_H

#include <linux/can.h>
#include "main.h"

int can_comm_init(void);
int can_comm_send(const struct can_frame *frame);
int can_comm_receive(struct can_frame *frame);
void can_comm_close(void);
int can_comm_get_socket(void);

#endif // CAN_COMM_H

